package com.rico.deploy.controller;

import com.rico.common.response.MessageUtils;
import com.rico.common.response.RestResponse;
import com.rico.system.service.SysMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author 吴泽胜
 * @FileName MenuController
 * @date 2021-05-02 4:43 下午
 * @Software: IntelliJ IDEA
 */
@RestController
public class MenuController {

    @Autowired
    private SysMenuService sysMenuService;

    @GetMapping("getMenu")
    public Map<String, Object> getMenu(){
        return sysMenuService.selectMenu();
    }

}
